Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing from upstream OCA/connector-telephony (16.0) #170

Merged
merged 187 commits into from
May 6, 2024
Merged

Conversation

bt-admin
Copy link

@bt-admin bt-admin commented May 6, 2024

bt_gitbot

Alexis de Lattre added 30 commits April 16, 2024 15:56
Long life to the asterisk_click2dial module for OpenERP !
- option to allow the use of phone numbers in National format,
  as discussed with Albert. This option is on the definition of the server.
  -> required a large change of the reformat number process
- added exact link to documentation in module description
- some clean-up
but he also made the change in the name of the SIP header !
This commit reverts this mistake.
In fact, it corresponds to the 'Timeout' instruction for the Asterisk Manager
Add French translation for these messages.
- Convert the comments for the functions to the standard style
Added "active" field on asterisk.server object.
In order to access all the Asterisk servers, included the desactivated ones,
I added a view dedicated to the object asterisk.server, which is accessible
under Administration > Configuration.
Thanks to Bernat Brunet from NaN for pointing this out.
Make phone and mobile fields searchable
Took into account some pylint coding convention suggestions
- we now handle the fact that phone numbers may contain spaces or special chars such in OpenERP, which is often the case in real life
- check input number
Update in comments
…ber in the callerID instruction to Asterisk.

Patch courtesy of Marcel van der Boom. Thanks for your feedback !
  Accoring to my tests and the info I got, SIP phones support UTF-8 fine
- Create a command line option to convert the name from UTF-8 to ASCII (-a)
- add default parameter to the help message
…a priority on the res.partner view.

Better handling of check functions when there are several ids.
…rm1 and removes the "mobile" field, so I need to change the priority to this view too.
Thanks to Todd Johnson for pointing out this mistake.
…k server now inherit from the tree/form view in the company form.
Changed view names
Great solution (thanks to Sebastien for finding it !) to avoid having 2 different tree&form views for asterisk server.
Larger phone field in res_partner_address (smaller 'dial' button)
. adds debug message
. starts to better manage character encoding in the networking code... but I still need more info about AMI on this.
- now parses answers received from Asterisk and display errors to the user
- now properly encodes the requests sent to Asterisk in ASCII (AMI doesn't support other charsets unfortunately)
- required fields are now required=True
- Single constraint function for all asterisk.server fields
- Fields that shouldn't have non-ascii caracters are not validated if they have non-ASCII caracters (including CallerID)
- clean-up error message code
- if no Asterisk server is defined for a user, it takes the first Asterisk serve
r defined
- methods now always return something
mimusica and others added 28 commits April 16, 2024 15:56
Currently translated at 45.1% (41 of 91 strings)

Translation: connector-telephony-12.0/connector-telephony-12.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-12-0/connector-telephony-12-0-asterisk_click2dial/nl_BE/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: connector-telephony-12.0/connector-telephony-12.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-12-0/connector-telephony-12-0-asterisk_click2dial/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: connector-telephony-12.0/connector-telephony-12.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-12-0/connector-telephony-12-0-asterisk_click2dial/
PJSIP is now the default channel type instead of SIP
Convert README to the new subdir format
Minor code improvements
Full code cleanup of the AGI script
Minor modifications to take into account the remark of the reviewers
Currently translated at 100.0% (91 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/pt_BR/
Currently translated at 96.7% (88 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/es_AR/
Currently translated at 7.6% (7 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/it/
Currently translated at 8.7% (8 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/sl/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/
Currently translated at 100.0% (91 of 91 strings)

Translation: connector-telephony-14.0/connector-telephony-14.0-asterisk_click2dial
Translate-URL: https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial/es/
Signed-off-by nimarosa
@bt-admin bt-admin added the 16.0 label May 6, 2024
@bt-admin bt-admin merged commit 5050c09 into brain-tec:16.0 May 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.